package cn.template.serve_project.service;


import cn.template.serve_project.entity.Permissions;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * 权限(Authentication)表服务接口
 *
 */
public interface PermissionsService extends IService<Permissions> {

    /**
     * 根据角色查询权限
     * @param roleId
     * @return
     */
    List<Permissions> selectAllByRole(Integer roleId);
}
